<template>
  <div>
    <p>请选择你喜欢的专栏</p>
    <input v-model="arr" type="checkbox" name="" id="" value="科幻" />科幻
    <input v-model="arr" type="checkbox" name="" id="" value="喜剧" />喜剧
    <input v-model="arr" type="checkbox" name="" id="" value="动漫" />动漫
    <input v-model="arr" type="checkbox" name="" id="" value="冒险" />冒险
    <input v-model="arr" type="checkbox" name="" id="" value="科技" />科技
    <input v-model="arr" type="checkbox" name="" id="" value="军事" />军事
    <input v-model="arr" type="checkbox" name="" id="" value="娱乐" />娱乐
    <ul>
      <li v-for="item in arr" :key="item">{{ item }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      arr: [],
    };
  },
};
</script>

<style lang="scss" scoped>
</style>